import axios from "../index";
import type { UserLoginProps } from "../types";

export const loginApi = (data: UserLoginProps) =>
  axios({
    url: "/users/login",
    method: "POST",
    data,
  });
